//
//  ViewController.m
//  ＷebServiceDemo
//
//  Created by wulanzhou on 16/3/7.
//  Copyright © 2016年 wulanzhou. All rights reserved.
//

#import "ViewController.h"
#import "WBServiceManager.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    NSDictionary *params=@{@"v_Str":@"Ezb|UserLogin|18688818377|123456"};
    
    [[WBServiceManager shareInstance] requestServiceWithMethodName:@"SysService" parameters:params completed:^(WBResponse *response) {
        if (response.success) { //请求成功
            
            NSLog(@"请求解析结果:%@",[response json]);
            
            return;
        }
        NSLog(@"请求失败:%@",response.errMsg);
    }];
    
    // Do any additional setup after loading the view, typically from a nib.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
